import request from "@/utils/request";

export default {
  // 获取未审核的店铺
  getNotExamineShop: (data: any): Promise<ApiResponseData<any>> => {
    return request.post<any>("/dishes/v1/getNotExamineShop", data);
  },

  // 获取未审核的菜品
  getNotExamineDishes: (data: any): Promise<ApiResponseData<any>> => {
    return request.post<any>("/dishes/v1/getNotExamineDishes", data);
  },

  updateShopStatus: (data: any): Promise<ApiResponseData<any>> => {
    return request.post<any>("/dishes/v1/updateShopStatus", data);
  },

  updateDishesStatus: (data: any): Promise<ApiResponseData<any>> => {
    return request.post<any>("/dishes/v1/updateDishesStatus", data);
  },
};
